package com.lkd.mapper;


import com.lkd.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper{

    @Select("select * from tb_user where login_name = #{loginName}")
    User findByUsername(String loginName);
}
